package com.tsd.base.service;

import com.tsd.base.entity.BasePrintDesignItem;
import com.tsd.base.entity.BasePrintDesignItemExt;
import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：BasePrintDesignItem服务实现层接口
 *
 * @author Hillpool
 * @date 2022/10/14 18:06:20
 */
public interface BasePrintDesignItemService {

    /**
     * 描述：根据id获取BasePrintDesignItem
     *
     * @param id
     */
    BasePrintDesignItem getBasePrintDesignItemById(Long id) throws Exception;

    /**
     * 描述：根据sid获取BasePrintDesignItem
     *
     * @param sid
     */
    BasePrintDesignItemExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除BasePrintDesignItem
     *
     * @param list
     */
    void deleteBasePrintDesignItems(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新BasePrintDesignItem
     *
     * @param record
     * @param opUser
     */
    void saveBasePrintDesignItem(BasePrintDesignItemExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询BasePrintDesignItem
     *
     * @param params
     * @param page
     */
    List<BasePrintDesignItemExt> findBasePrintDesignItems(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询BasePrintDesignItem
     *
     * @param params
     */
    List<BasePrintDesignItemExt> findBasePrintDesignItems(Map<String, Object> params) throws Exception;
}